package com.vancouver.knows.business.bean;

import com.alibaba.fastjson.annotation.JSONField;


import java.util.List;

/**
 * Created by Chris Li on 2016-07-13.
 */
public class CategoryInfo {

    @JSONField(name = "name")
    private String name;
    @JSONField(name = "slug")
    private String slug;
    @JSONField(name = "count")
    private int count;
    @JSONField(name = "image_url")
    private String imageUrl;

    @JSONField(name = "subcategories")
    private List<SubcategoryInfo> subcategories;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSlug() {
        return slug;
    }

    public void setSlug(String slug) {
        this.slug = slug;
    }

    public List<SubcategoryInfo> getSubcategories() {
        return subcategories;
    }

    public void setSubcategories(List<SubcategoryInfo> subcategories) {
        this.subcategories = subcategories;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }
}
